package com.jeejam.product.service;

import java.util.List;

import com.jeejam.framework.base.pojo.TreePager;
import com.jeejam.framework.base.service.BaseService;
import com.jeejam.product.pojo.Filter;

public interface FilterService extends BaseService {
	
	public List<Filter> selectRoot();
	
	public List<Filter> selectRootWithoutChildren();
	
	public List<Filter> selectRootByPage(int page, int pageSize);
	
	public List<Filter> selectChildren(int id);
	
	public TreePager getTreePager(int currentPage, int pageSize);
	
	public int countsWithRoot();
	
	public void deleteWithChildren(int id);
}
